var fs = require('fs');
var config = eval('(' + fs.readFileSync('../instance/frontend.json', 'utf8') + ')');
export default {

    mainLanguage: 'en',
    language: 'cn',
    surportLanguages: ['en', 'cn', 'hk'],
    apiHost: window.location.protocol + '//' + window.location.hostname,
    //apiHost: 'http://cms.origino3d.shinemi',
    apiPrefixes: ['/api/v1'],
    //urlHost: 'http://cms.origino3d.shinemi',
    urlHost: window.location.protocol + '//' + window.location.hostname,
    skyboxHost: config.skybox_host,
    model_embed_url: config.model_embed_url,
    urlPrefix: en => `/${en}/frame`,
    embedUrlPrefix: en => `/${en}`,
    defaultImage: '/images/single/pages/IndividualAccount/images/thumbnail.png'

};
